package com.woniuxy.pojo;

public class Teacher {
    private String name;
    private Integer lessionAge;
    private Double score;
    private String school;

    public Teacher(String name, Integer lessionAge, Double score) {
        this.name = name;
        this.lessionAge = lessionAge;
        this.score = score;
    }

    public Teacher(String name, Integer lessionAge, Double score, String school) {
        this.name = name;
        this.lessionAge = lessionAge;
        this.score = score;
        this.school = school;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", lessionAge=" + lessionAge +
                ", score=" + score +
                ", school='" + school + '\'' +
                '}';
    }
}
